#include <QObject>

// a simple header for slot and signals
//

class Man : public QObject{

    Q_OBJECT

    public:
        Man(){age=0;}
        int get_age() const{return age;}

    public slots:
        void setAge(int a);

    //tehese are not implemented they say that something occured
    signals:
        //called when the age is changed of that person
        void ageChanged(int newAge);

    private:
        int age;

};


